How to insert images using labels in NetBeans IDE, Java? [migrated]
Posted
by
Vaishnavi Kanduri
on Programmers
See other posts from Programmers
or by Vaishnavi Kanduri
Published on 2013-10-24T13:20:50Z
Indexed on
2013/10/24
16:08 UTC
Read the original article
Hit count: 193
I'm making a virtual mall using NetBeans IDE 7.3.1
I inserted images using the following steps:
- Drag and drop label onto frame
- Go to label properties
- Click on ellipsis of 'icon' option
- Import to project, select desired image
- Resize or reposition it accordingly.
Then, I saved the project, copied the project folder into a pendrive, tried to 'Open Project' in mate's laptop, using the same Java Netbeans IDE version.
When I tried to open the frames, they displayed empty labels, without images. What went wrong?
© Programmers or respective owner